/* 
 * File:   ParametersMemento.h
 * Author: Gab'z
 *
 * Created on 29 mai 2012, 10:56
 */

#ifndef PARAMETERSMEMENTO_H
#define	PARAMETERSMEMENTO_H

#include "Memento.h"
#include "../parameters/Parameters.h"

namespace calculator {
    class UndoableRedoableCommand;

    class ParametersMemento : public Memento {
        friend class AllParametersCommand;

    public:
        ParametersMemento(UndoableRedoableCommand* undoableRedoableCommand,
                const Parameters* parameters);
        virtual ~ParametersMemento();
    private:
        const Parameters* _parameters;

        ParametersMemento(const ParametersMemento& orig);
    };
}

#endif	/* PARAMETERSMEMENTO_H */

